package com.zjitc.pojo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * Create By IntelliJ IDEA
 *
 * @author: myq
 * @create-Time: 2017/11/23  11:35
 */
@NoArgsConstructor
@Setter
@Getter
@ToString
public class Orderitem implements Serializable {
    private String oiid;
    private Integer count;
    private double subtotal;
    private String pid;
    private String oid;

    private Product product;

    public Orderitem(String oiid, Integer count, double subtotal, String pid, String oid) {
        this.oiid = oiid;
        this.count = count;
        this.subtotal = subtotal;
        this.pid = pid;
        this.oid = oid;
    }
}
